package com.woupla.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * Entity implementation class for Entity: Customer
 * 
 */
@NamedQueries({ @NamedQuery(name = "findAllManager", query = "SELECT m FROM Manager m") })
@Entity
public class Manager extends User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5862579973999692496L;
	@NotEmpty
	private Company company;

	public Manager() {
		super();
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

}
